//
//  169. 多少元素.swift
//  Top600
//
//  Created by rjb on 2021/7/30.
//

import Foundation
class Solution169 {
    // 多数元素
    func majorityElement(_ nums: [Int]) -> Int {
        
        return 1
    }
    static func test() {
        let solution = Solution169()
        let nums = [3,2,3]
        let result = solution.majorityElement(nums)
        print(result)
    }
}
